package com.school.movie.business.mobile.model.pojo;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import java.io.Serializable;
import java.util.Date;

/**
 * (UserHopeLook)表实体类
 *
 * @author makejava
 * @since 2021-01-04 23:46:14
 */
@SuppressWarnings("serial")
@TableName("user_hope_look")
public class UserHopeLook extends Model<UserHopeLook> {

    @TableId
    private String mobile;

    @TableId
    private Integer movieid;

    private Date time;

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public Integer getMovieid() {
        return movieid;
    }

    public void setMovieid(Integer movieid) {
        this.movieid = movieid;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    /**
     * 获取主键值
     *
     * @return 主键值
     */
    @Override
    protected Serializable pkVal() {
        return this.mobile;
    }
}